<?php

class Migration_Add_Observacao_Fax_Responsavel_Comitentes extends CI_Migration {
	 
	private $table = 'comitentes';

	function up() {

		$obj = $this->dbforge;
		$column = array(
				'OBSERVACAO' => array(
						'type' => 'VARCHAR',
						'constraint' => '200',
                         'null' =>TRUE

				),
                'RESPONSAVEL' => array(
						'type' => 'VARCHAR',
						'constraint' => '20',
                         'null' =>TRUE

				),
                'FONE_FAX' => array(
						'type' => 'CHAR',
						'constraint' => '10',
                         'null' =>TRUE

				)
		);

		$obj->add_column($this->table, $column);
	}

}
